package edu.ccut.saturn.operation.database;

import java.sql.Connection;

import edu.ccut.saturn.component.SaturnData;

public class UpdateByCondition {
	private static edu.ccut.saturn.basecomponent.database.facade.UpdateByCondition facade = null;
	private static UpdateByCondition instance  = new UpdateByCondition();
    private UpdateByCondition(){
    	facade = new edu.ccut.saturn.basecomponent.database.facade.UpdateByCondition();
    };
    public static UpdateByCondition getInstance(){
    	return instance;
    }

	public int execute(SaturnData saturnData ,String condition,String specialcolumn,Connection conn) throws Exception {
		return facade.execute(saturnData, condition, specialcolumn, conn);
	}

}
